package com.cssl.serice;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cssl.dao.SysStaffMapper;
import com.cssl.pojo.SysStaff;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SystaffSerice extends IService<SysStaff> {

    public SysStaff selectid(@Param("code") String code, @Param("pwd") String pwd);


    public IPage<SysStaff> seleo(IPage<SysStaff> page, @Param("ew") QueryWrapper<SysStaff> ew);


    public List<SysStaff> select(@Param("ew")QueryWrapper<SysStaff> ew);

    public IPage<SysStaff> selecty(IPage<SysStaff> page,@Param("ew") QueryWrapper<SysStaff> ew);


    public int addUserInfo(List<SysStaff> list);

    int querySum();

    int querySy();

    public SysStaff selectid2(@Param("code") String id);

    List<Integer> age();

    List<Integer> age2();

    //导出查询
    public List<SysStaff> queryUserInfo();

    public int supdate(int id);

    int queryZc();

    //入职表查询
    public List<SysStaff> Entry(@Param("create_time") String create_time);
}
